﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RayDen.Library.Entity.Interface;

namespace RayDen.MegaRay
{
    public class Renderer : IRenderConfig
    {
        public IRendererOutputSettings OutputSettings { get; set; }
        public IRendererQualitySettings QualitySettings { get; set; }
        private DateTime start;
        private int width, height;
        private IParameterBag config;


        public string SavePath
        {
            get { return config.Get("ImageSaveDirectory", @"I:\Dev\Images\MovieFactory\"); }
        }

        public string FrameName
        {
            get { throw new NotImplementedException(); }
        }

        public int Width
        {
            get { return width; }
        }

        public int Height
        {
            get { return height; }
        }

        public void SaveImage(string fn)
        {
            throw new NotImplementedException();
        }

        public void SaveRawImage(string fn)
        {
            throw new NotImplementedException();
        }

        public void OpenFrame(RayDen.Library.Entity.Frames.FrameDescription frameDescription)
        {
            throw new NotImplementedException();
        }

        public void Start()
        {
            throw new NotImplementedException();
        }

        public void Interrupt()
        {
            throw new NotImplementedException();
        }

        public void ConsumeJob(IRenderJob job, Action<IRenderJobResult> resultCallback)
        {
            throw new NotImplementedException();
        }

        public string GetStats()
        {
            throw new NotImplementedException();
        }

        public void Dispose()
        {
            throw new NotImplementedException();
        }

        public void RunCommand(int index)
        {
            throw new NotImplementedException();
        }

        public IImagePlaneComponent GetImagePlane()
        {
            throw new NotImplementedException();
        }
    }
}
